package com.fuyao.cloud.personnel.library.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fuyao.cloud.common.data.datascope.CloudBaseMapper;
import com.fuyao.cloud.personnel.library.entity.BookApply;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface BookApplyMapper extends CloudBaseMapper<BookApply> {
    IPage<BookApply> borrowHistory(Page<BookApply> page, @Param("bookId") Long bookId);
}
